package com.sqlcheck.dto.response;

import com.sqlcheck.common.enums.UserRole;
import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "当前用户信息响应")
public class CurrentUserResponse {

    @Schema(description = "用户ID", example = "1")
    private Long id;

    @Schema(description = "员工工号", example = "123456")
    private String employeeId;

    @Schema(description = "用户名", example = "张三")
    private String username;

    @Schema(description = "邮箱", example = "zhangsan@company.com")
    private String email;

    @Schema(description = "头像URL", example = "https://example.com/avatar.png")
    private String avatarUrl;

    @Schema(description = "是否激活", example = "true")
    private Boolean isActive;

    @Schema(description = "用户角色", example = "USER")
    private UserRole role;
}